package com.hy.mydesktop.shared.business;

import java.util.ArrayList;
import java.util.List;


import com.extjs.gxt.ui.client.data.BaseModel;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentControllerMetaModel;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentMetaModel;

public class DynamicWindowManager {

	public  List<GxtComponentControllerMetaModel> getAllDynamicWindows() {
		List<GxtComponentControllerMetaModel> list=new ArrayList<GxtComponentControllerMetaModel>();
		/*list.add(new AddressServices().createDynamicWindowController());
		list.add(new AreaServices().createDynamicWindowController());
		list.add(new ConversionStyleServices().createDynamicWindowController());
		list.add(new CountyServices().createDynamicWindowController());
		list.add(new DisposalWayServices().createDynamicWindowController());
		list.add(new EconomicTypeServices().createDynamicWindowController());
		list.add(new MaterielServices().createDynamicWindowController());
		list.add(new OrganizationServices().createDynamicWindowController());
		list.add(new ProductCharacteristicTypeServices().createDynamicWindowController());
		list.add(new QualityControlMannerServices().createDynamicWindowController());
		list.add(new RewardsPunishmentTypeServices().createDynamicWindowController());
		list.add(new ShelfTypeServices().createDynamicWindowController());
		list.add(new UnitGroupTypeServices().createDynamicWindowController());
		
		
		list.add(new CountryServices().createDynamicWindowController());
		list.add(new DepartmentServices().createDynamicWindowController22());
		list.add(new MaterielTypeServices().createDynamicWindowController());
		list.add(new MembereRelationServices().createDynamicWindowController());
		list.add(new PersonServices().createDynamicWindowController22());
		list.add(new PhysiqueCharacterTypeServices().createDynamicWindowController());*/

//		list.add(new CargoSpaceServices().createDynamicWindowController22());
//		list.add(new UnitsServices().createDynamicWindowController());
//		list.add(new UnitTypeServices().createDynamicWindowController());
		
//		list.add(new DepotTypeServices().createDynamicWindowController());
		list.add(new DepotServices0().createDynamicWindowController000());//交叉
//		list.add(new CargoSpaceTypeServices().createDynamicWindowController());

		
		
		
		
//		list.add(new NationServices().createDynamicWindowController());
//		list.add(new OrganizationTypeServices().createDynamicWindowController());

//		list.add(new SearchTeamServices().createDynamicWindowController());
//		list.add(new IndustryServices().createDynamicWindowController());


		
		

//		list.add(new DepotServices_showDetail().createDynamicWindowController());
//		list.add(new PositionTypeServices().createDynamicWindowController());
//		list.add(new PositionServices().createDynamicWindowController());

//		list.add(new LocationTypeServices().createDynamicWindowController());
//		list.add(new ProvinceServices().createDynamicWindowController());
//		list.add(new CityServices().createDynamicWindowController());
//		list.add(new BillTypeServices().createDynamicWindowController());
//		list.add(new PutDepotTypeServices().createDynamicWindowController());
//		list.add(new StockTypeServices().createDynamicWindowController());
//		list.add(new RoleTypeServices().createDynamicWindowController());
//		list.add(new ContactTypeServices().createDynamicWindowController());

		/*
		list.add(new PostcodeServices().createDynamicWindowController());
		
		list.add(new TeamServices().createDynamicWindowController22());
		list.add(new UnitConversionRateServices().createDynamicWindowController22());
		list.add(new UnitNameServices().createDynamicWindowController());

		
		list.add(new SearchCargoSpaceServices().createDynamicWindowController());
		list.add(new SearchDepartmentServices().createDynamicWindowController());
		list.add(new SearchDepotServices().createDynamicWindowController());
		list.add(new SearchMaterielServices().createDynamicWindowController());
		list.add(new SearchOrganisationServices().createDynamicWindowController());
		list.add(new SearchPersonServices().createDynamicWindowController());
		list.add(new SearchUnitConversionRateServices().createDynamicWindowController());
		list.add(new SearchUnitsServices().createDynamicWindowController());*/

		
		
		return list;
	}


	/*public  List<GxtComponentMetaModel> getDepotServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new DepotServices().createDynamicWindowController());//交叉		
		
		return list;
	}
	
	public  List<GxtComponentMetaModel> getDepartmentServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new DepartmentServices().createDynamicWindowController22());
		
		return list;
	}


	public  List<GxtComponentMetaModel> getCargoSpaceServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new CargoSpaceServices().createDynamicWindowController22());
		
		return list;
	}


	public  List<GxtComponentMetaModel> getUnitsServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new UnitsServices().createDynamicWindowController());
		
		return list;
	}
	
	public  List<GxtComponentMetaModel> getMaterielServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new MaterielServices().createDynamicWindowController());
		
		return list;
	}
	
	public  List<GxtComponentMetaModel> getOrganisationServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new OrganizationServices().createDynamicWindowController());
		
		return list;
	}
	
	public  List<GxtComponentMetaModel> getPersonServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new PersonServices().createDynamicWindowController22());
		
		return list;
	}

	public  List<GxtComponentMetaModel> getTeamServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new TeamServices().createDynamicWindowController22());
		
		return list;
	}
	
	public  List<GxtComponentMetaModel> getUnitConversionRateServices(BaseModel baseModel ) {
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		
		list.add(new UnitConversionRateServices().createDynamicWindowController22());
		
		return list;
	}*/

}
